<template lang="pug">
  .mask-layer(:style="{zIndex: zIndex}")
</template>

<script>
export default {
  props: {
    zIndex: {
      type: Number,
      required: false,
      default: 10001
    }
  }
}
</script>

<style scoped lang="stylus">
  .mask-layer
    position fixed
    left 0
    top 0
    width 100%
    height 100%
    background-color rgba(0, 0, 0, 0.6)
</style>
